<%@ page import="com.lagou.domain.Student" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    Student stu = (Student) request.getAttribute("student");
%>
<html>
<head>
    <title>学生管理系统-修改</title>
</head>
<style>
      .edit{
          position: absolute;
          left: 32%;
          width: 450px;
          font-family: "Microsoft Yahei","微软雅黑",Arial,STHeiti;
          border: 1px solid #efefef;
          box-shadow: 1px 1px 1px #efefef;
          padding-top: 25px;
          background-color:blanchedalmond;
      }
</style>
<body>
    <div class="edit">
        <form action="/student_system/updateStu" method="post">
            <tr>
                <td>学号</td>
                <td><input readonly="true" name="id" value="<%out.println(stu.getId());%>"></td>
            </tr>
            <br>
            <tr>
                <td>姓名：</td>
                <td><input type="text" name="name"  value="" placeholder="请在这里输入名字">

            </tr>
            <br>
            <tr>
                <td>性别：</td>
                <td><input type="radio" name="sex" value="男"> 男
                    <input type="radio" name="sex" value="女"> 女
                </td>

            </tr>
            <br>
            <tr>
                <td>生日：</td>
                <td><input type="date" name="birthday"  value="<%out.println(stu.getBirthday());%>"
                           placeholder="请在这里输入出生日期"></td>

            </tr>
            <br>
            <tr>
                <td>
                    <button type="submit" >提 交</button>
                </td>
            </tr>
        </form>
    </div>
</body>
</html>
